[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
UPPER(SEXP) (STRING)
Function
Converts lowercase characters in a string to uppercase.
Syntax
UPPER(sexp)
sexp = Any string expression.
Return Type & Value
STRING
Returns sexp with all lowercase characters converted to uppercase.
Remarks
Although "STRING" is technically different from "string" (ie, the
computer doesn't recognize them as being the same because one is
uppercase and the other is lowercase), it is often necessary to save,
display or compare information in a case insensitive format. This
function will return a string with all lowercase characters converted
to uppercase. So, using the above example, UPPER("string") would return
"STRING".
Examples
STRING s
WHILE (UPPER(s) <> "QUIT") DO
INPUT "Text",s
PRINTLN LOWER(s)
ENDWHILE
See Also:
LOWER()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson